﻿#include <iostream>
#include <fstream>
#include <vector>
#include <cstdint>

uint8_t Data_CRC8(uint8_t *arr_buff, uint16_t len);

void writeCrcDataHexToFile(const uint8_t* crcData, size_t iDataLen, const std::string& filename);

void writeCrcDataHexToFilePro(const std::vector<unsigned char>& crcData, const std::string& filename);